@using Elsa.Dashboard.Options
@using Microsoft.Extensions.Options
@inject IOptions<ElsaDashboardOptions> Options;

@{
    var scripts = Options.Value.Scripts;
    
    if (scripts?.Any() == true)
    {
        foreach (var script in scripts)
        {
            <script type="text/javascript" src="@Url.Content(script)"></script>
        }
    }
}